<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>webrtc录制视频</title>
</head>
<body>
    <div>
        <tr>
            视频源：
            <video id="videoId" autoplay style="width: 300px;height: 200px;"></video>
            <div id="divConstraints" style="width: 300px;">

            </div>
        </tr>
        <tr>
            <video id="playVideoId" style="width: 300px;height: 200px;"></video>
        </tr>
        <tr>
            <td>
                <button id="record">Start Record</button>&nbsp;&nbsp;&nbsp;
                <button id="play">Play</button>
                <button id="download" disabled>Download</button>&nbsp;&nbsp;&nbsp;
            </td>
        </tr>
    </div>
    
    <script src="./index.js"></script>
</body>
</html>